package lijun;

public class test3 {
    public static int pointNum = 0;

    public static void main(String[] args) {
        for (int i = 0; i < 10; i++) {
            double y = i * i;
            Point point = new Point(i, y);
            pointNum++;
            System.out.println(point + " 当前坐标数: " + pointNum);
        }
    }
}
